package com.youbug.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.youbug.common.config.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 定时任务
 * </p>
 *
 * @author youbug
 * @since 2023-11-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Job对象", description="定时任务")
public class Job extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "任务名称")
    private String name;

    @ApiModelProperty(value = "任务编码")
    private String code;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态1开启，0关闭")
    private String status;


}
